﻿<link rel="stylesheet" type="text/css" href="@Url.Content("~/Scripts/emotions/emoticon.css")" />
@model string
@{
	var prifix = Model;
	var codespace = ViewContext.RouteData.DataTokens["area"].ToString();
	var entityTypeCode = ViewContext.RouteData.Values["Controller"].ToString();
}
<form id="@(prifix)form1" method="post">
	<input name="Id" class="mini-hidden" />
	<input name="AppSystemId" class="mini-hidden" />
	<input name="ParentId" class="mini-hidden" />
	<input id="hdIcon" name="Icon" class="mini-hidden" />
	<div style="padding-left: 11px; padding-bottom: 5px;">
		<table>
			<tr>
				<td>@Html.IconLabel("Name")：
				</td>
				<td>
					<input name="Name" class="mini-textbox" required="true" />
					@Html.Qtip("Name", entityTypeCode, codespace)
				</td>
				<td>@Html.IconLabel("Icon")：
				</td>
				<td>
					<div id="msg" style="float: left; margin: 0px; text-align: center; line-height: 30px; border: 0px; height: 30px; width: 30px;"></div>
					<a href="JavaScript:void(0)" id="message_face">选择图标</a>
					@Html.Qtip("Icon", entityTypeCode, codespace)
				</td>
			</tr>
			<tr>
				<td>@Html.IconLabel("Url")：
				</td>
				<td colspan="3">
					<input name="Url" class="mini-textbox" style="width: 350px;" />
					@Html.Qtip("Url", entityTypeCode, codespace)
				</td>
			</tr>
			<tr>
				<td>@Html.IconLabel("SortCode")：
				</td>
				<td>
					<input name="SortCode" class="mini-textbox" vtype="int" value="0" required="true" />
					@Html.Qtip("SortCode", entityTypeCode, codespace)
				</td>
				<td></td>
				<td>
				</td>
			</tr>
			<tr>
				<td>@Html.IconLabel("Description")：
				</td>
				<td colspan="3">
					<input name="Description" class="mini-textarea" style="width: 350px;" />
					@Html.Qtip("Description", entityTypeCode, codespace)
				</td>
			</tr>
		</table>
	</div>
</form>
<div id="faceWindow" class="mini-window" visible="false" title="选择图标" style="width: 700px; height: 470px">
</div>
<script type="text/javascript" src="@Url.Content("~/Scripts/emotions/jquery.emoticons.js")"></script>
